#ifndef __DKPOINT_H__
#define __DKPOINT_H__

#include "cocos2d.h"
#include "EnumType.h"

USING_NS_CC;

class DKPoint : CCObject
{
public:
	DKPoint(){}
	DKPoint(int xIndex, int yIndex);

	DKEventDirection GetDirection(DKPoint target);
	DKPoint MoveToDirection(DKEventDirection direction);
	bool IsAlign(DKPoint point);
	bool IsEqual(DKPoint point);

	int XIndex;
	int YIndex;
};

#endif